﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>贴吧 – 妈妈们聚会啦！– 果果街</title>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> -->
<meta name="keywords" content="果果,果果街,果果网,童装, 淘宝网童装,孕妇装,洗护用品, 母婴用品,儿童美食,家居 ,亲子早教" />
<meta name="description" content="${forumInformation.introduction}" />
<%@include file="../common/jscss.jsp" %>
<script type="text/javascript" src="js/forum.js"></script>
<script type="text/javascript">

	$(function(){
		$("#pager").pager({ pagenumber: ${pageModelDoingList.currentPage}, 
							pagecount: ${pageModelDoingList.totalPage},
							buttonClickCallback: function(page){
								window.location.href="getDoingListByForumId.htm?forumId=${forumId}&classId=${classId}&page="+page;
							}
		});
	});

//管理帖子弹出框的位置
function setTopLeft(obj, id) {
		var thisTop = $(obj).offset().top;
		var thisLeft = $(obj).offset().left;
		$("#" + id).css("top", thisTop + 20);
		$("#" + id).css("left", thisLeft+100);
		$("#" + id).show();
	}
//删除弹出框的弹出
function deleteDoing(obj) {
		showMask();
		var i = 0;
		$(":checkbox[name='forumDoingCheckbox']").each(function() {
			if ($(this).attr("checked")) {
				i++;
			}
		});
		$("#forum_doing_delete_count").text("选中了" + i + "篇帖子");
		setTopLeft(obj, "forum_doing_delete");
	}
/* 取消删除帖子 */
function cancelDelete() {
	hideMask();
	$("#forum_doing_delete").hide();
}
//删除
function deleteDoingSave() {
	
	var doingList = new Array();
	$(":checkbox[name='forumDoingCheckbox']").each(function() {
		if ($(this).attr("checked")) {
			doingList.push($(this).attr("doingId"));
		}
	});
	$.post("deleteDoingForum.htm", {
		forumId : '${forumId}',
		doingList : $.toJSON(doingList)
	}, function(data) {
		if (data == 'success') {
			alert("删除成功");
			hideMask();
			$("#forum_doing_delete").hide();
			window.location.href="getDoingListByForumId.htm?forumId=${forumId}";
		}
	});
}
//管理 推荐 的弹出框
function doingRecommend(obj) {
		showMask();
		var i = 0;
		$(":checkbox[name='forumDoingCheckbox']").each(function() {
			if ($(this).attr("checked")) {
				i++;
			}
		});
		$("#forum_doing_recommend_count").text("选中了" + i + "篇帖子");
		setTopLeft(obj, "forum_doing_recommend");
	}
/* 推荐帖子 */
function cancelRecommend() {
	hideMask();
	$("#forum_doing_recommend").hide();
}
//推荐
function doingRecommendSave() {
	var recommend = $(":radio[name='forumIdDoingRecommend'][checked]").val();
	var doingList = new Array();
	$(":checkbox[name='forumDoingCheckbox']").each(function() {
		if ($(this).attr("checked")) {
			doingList.push($(this).attr("doingId"));
		}
	});
	$.post("recommendForumDoing.htm", {
		forumId : '${forumId}',
		doingList : $.toJSON(doingList),
		isRecommend : recommend == '01' ? true : false
	}, function(data) {
		if (data == 'success') {
			hideMask();
			window.location.href="getDoingListByForumId.htm?forumId=${forumId}";
		}
	});
}
//置顶框
function doingTop(obj) {
		showMask();
		var i = 0;
		$(":checkbox[name='forumDoingCheckbox']").each(function() {
			if ($(this).attr("checked")) {
				i++;
			}
		});
		$("#forum_doing_top_count").text("选中了" + i + "篇帖子");
		setTopLeft(obj, "forum_doing_top");
	}
/* 置顶 */
function cancelTop() {
	hideMask();
	$("#forum_doing_top").hide();
}
//置顶的操作
function doingTopSave() {
	var top = $(":radio[name='forumDoingTop'][checked]").val();
	var doingList = new Array();
	$(":checkbox[name='forumDoingCheckbox']").each(function() {
		if ($(this).attr("checked")) {
			doingList.push($(this).attr("doingId"));
		}
	});
	$.post("topForumDoing.htm", {
		forumId : '${forumId}',
		doingList : $.toJSON(doingList),
		isTop : top == '01' ? true : false
	}, function(data) {
		if (data == 'success') {
			hideMask();
			window.location.href="getDoingListByForumId.htm?forumId=${forumId}";
		}
	});
}
//精华
function doingMarrow(obj) {
	showMask();
	var i = 0;
	$(":checkbox[name='forumDoingCheckbox']").each(function() {
		if ($(this).attr("checked")) {
			i++;
		}
	});
	$("#forum_doing_marrow_count").text("选中了" + i + "篇帖子");
	setTopLeft(obj, "forum_doing_marrow");
}
/* 精华 */
function cancelMarrow() {
	hideMask();
	$("#forum_doing_marrow").hide();
}
//精华
function topicMarrowSave() {
	var marrow = $(":radio[name='forumDoingMarrow'][checked]").val();
	var doingList = new Array();
	$(":checkbox[name='forumDoingCheckbox']").each(function() {
		if ($(this).attr("checked")) {
			doingList.push($(this).attr("doingId"));
		}
	});
	$.post("marrowForumDoing.htm", {
		forumId : '${forumId}',
		doingList : $.toJSON(doingList),
		isMarrow : marrow == '01' ? true : false
	}, function(data) {
		if (data == 'success') {
			hideMask();
			window.location.href="getDoingListByForumId.htm?forumId=${forumId}";
		}
	});
}

//高亮
function doingStyle(obj) {
		showMask();
		var i = 0;
		$(":checkbox[name='forumDoingCheckbox']").each(function() {
			if ($(this).attr("checked")) {
				i++;
			}
		});
		$("#forum_doing_style_count").text("选中了" + i + "篇帖子");
		setTopLeft(obj, "forum_doing_style");
	}
//高亮选择颜色样式
function cancelStyle() {
	hideMask();
	$("#forum_doing_style").hide();
	$("#doing_style_color").hide();
}
//高亮选择颜色样式
function changStyleColor(obj) {
	setTopLeft(obj, "doing_style_color");
}
/* 颜色 */
function selectColor(obj) {
	var color = $(obj).css("background-color");
	$("#doing_style_color").find("strong").attr("isSelect", "0");
	$(obj).attr("isSelect", "1");
	$("#doing_style_color").hide();
	$(".h_bbsColor").find("em").css("background-color", color);
}

/* 加亮粗体下化线 */
function setBold(obj){
	var bold = $(obj).attr("bold");
	if(bold=='0'){
		$(obj).css("border-color","red");
		$(obj).attr("bold","1");
	}else{
		$(obj).css("border-color","#CCCCCC");
		$(obj).attr("bold","0");
	}
}
//斜体
function setItalic(obj){
	var italic = $(obj).attr("italic");
	if(italic=='0'){
		$(obj).css("border-color","red");
		$(obj).attr("italic","1");
	}else{
		$(obj).css("border-color","#CCCCCC");
		$(obj).attr("italic","0");
	}
}
//下划线
function setUnderline(obj){
	var underline = $(obj).attr("underline");
	if(underline=='0'){
		$(obj).css("border-color","red");
		$(obj).attr("underline","1");
	}else{
		$(obj).css("border-color","#CCCCCC");
		$(obj).attr("underline","0");
	}
}

//高亮的保存
function doingStyleSave() {
		var style = $(":radio[name='forumDoingStyle'][checked]").val();
		var doingList = new Array();
		$(":checkbox[name='forumDoingCheckbox']").each(function() {
			if ($(this).attr("checked")) {
				doingList.push($(this).attr("doingId"));
			}
		});
		var styleStr = "";
		if (style == '01') {
			var bold = $("#doing_style_bold").attr("bold");
			var italic = $("#doing_style_italic").attr("italic");
			var underline = $("#doing_style_underline").attr("underline");
			var color = "#CCCCCC";
			$("#doing_style_color").find("strong").each(function() {
				if ($(this).attr("isselect") == '1') {
					color = $(this).css("background-color");
				}
			});
			if (bold == '1') {
				styleStr += "font-weight:bold;";
			}
			if (italic == '1') {
				styleStr += "font-style:italic;";
			}
			if (underline == '1') {
				styleStr += "text-decoration:underline;";
			}
			styleStr = styleStr + "color:" + color + ";";
		}
		$.post("styleForumDoing.htm", {
			forumId : '${forumId}',
			doingList : $.toJSON(doingList),
			styleStr : styleStr
		}, function(data) {
			if (data == 'success') {
				hideMask();
				window.location.href="getDoingListByForumId.htm?forumId=${forumId}";
			}
		});
	}
//提升、下沉
function doingUp(obj) {
		showMask();
		var i = 0;
		$(":checkbox[name='forumDoingCheckbox']").each(function() {
			if ($(this).attr("checked")) {
				i++;
			}
		});
		$("#forum_doing_up_count").text("选中了" + i + "篇帖子");
		setTopLeft(obj, "forum_doing_up");
	}
//取消提升、下沉
function cancelUp() {
		hideMask();
		$("#forum_doing_up").hide();
	}
//提升、下沉
function doingUpSave() {
	var up = $(":radio[name='forumDoingUp'][checked]").val();
	var doingList = new Array();
	$(":checkbox[name='forumDoingCheckbox']").each(function() {
		if ($(this).attr("checked")) {
			doingList.push($(this).attr("doingId"));
		}
	});
	$.post("upforumDoing.htm", {
		forumId : '${forumId}',
		doingList : $.toJSON(doingList),
		isUp : up == '01' ? true : false
	}, function(data) {
		if (data == 'success') {
			hideMask();
			window.location.href="getDoingListByForumId.htm?forumId=${forumId}";
		}
	});
}

//上锁解锁
	function doingUnLock(obj) {
		showMask();
		var i = 0;
		$(":radio[name='doingLock']").attr("checked", false);
		$(":checkbox[name='forumDoingCheckbox']").each(function() {
			if ($(this).attr("checked")) {
				i++;
			}
		});
		$("#unLock_select_count").text("选中了" + i + "篇帖子");
		setTopLeft(obj, "forum_doing_unlock");
	}
/* 取消上锁 */
	function cancelUnLock() {
		hideMask();
		$("#forum_doing_unlock").hide();
	}
//上锁
	function doingUnLockSave() {
		var doingIsLock = $(":radio[name='doingLock'][checked]").val();
		var doingList = new Array();
		$(":checkbox[name='forumDoingCheckbox']").each(function() {
			if ($(this).attr("checked")) {
				doingList.push($(this).attr("doingId"));
			}
		});
		$.post("doingUnLockSave.htm", {
			forumId : '${forumId}',
			doingList : $.toJSON(doingList),
			isLock : doingIsLock == '01' ? true : false
		}, function(data) {
			if (data == 'success') {
				hideMask();
				window.location.href="getDoingListByForumId.htm?forumId=${forumId}";
			}
		});
	}
</script>
</head>




<body>
<%@include file="../common/header.jsp" %>
<div class="wraper">
	
	<div class="content">
    	<div class="hall">
            <div class="tiebasub">
                <div class="auto_slide">
                      <div class="inner_auto_slide">
	                      <ul> <c:forEach items="${forumInformation.forumHotDoingList}" var="forumHotPosts">
	                            <div class="tab_contect">
	                                <a href="${forumHotPosts.doingLink}" target="_blank"><img src="${forumHotPosts.imageServer}${forumHotPosts.picDoing}" /></a>
		                            <span></span>
		                            <P>${forumHotPosts.title}</P>
	                            </div>  
	                            </c:forEach> 
	                       </ul>  
                      </div>
               </div>
                 <div class="tab_h"><span class="tab_nav current"></span><span class="tab_nav"></span><span class="tab_nav"></span></div>
               <dl class="tiebamaster">
                	<dt>吧主</dt>
                	
                    <dd>
                    	<ul>
                    	 <c:forEach items="${forumInformation.memberList}" var="forumMember">
	                    	 <c:if test="${forumMember.role=='01'}">
	                        	<li><img src="${forumMember.imageServer}${forumMember.avatar}" width="21" height="21" />
	                        	    <a href="#" class="name" onmouseout="GUOGUO.hideFamilyTip()" onmousemove="GUOGUO.familyTip('${forumMember.nickname}',this)">${forumMember.nickname}</a>
	                        	    <c:if test="${member.identifier==forumMember.identifier && forumMember.role=='01'}">
	                        	    <a href="manageFroum.htm?forumId=${forumId}" class="manage" target="_blank">管理</a>
	                        	    </c:if>
	                        	</li>
	                        </c:if>
                          </c:forEach>
                        </ul>
                    </dd>
              </dl>
              <dl class="tiebamanager">
                	<dt>伙计</dt>
                     <dd>
                    	<ul>
                    	 <c:forEach items="${forumInformation.memberList}" var="forumMember">
                    	 	<c:if test="${forumMember.role=='02'}">
                        	<li><img src="${forumMember.imageServer}${forumMember.avatar}" width="21" height="21" />
                        	    <a href="#" class="name" onmouseout="GUOGUO.hideFamilyTip()" onmousemove="GUOGUO.familyTip('${forumMember.nickname}',this)">${forumMember.nickname}</a>
                        	</li>
                        	</c:if>
                          </c:forEach>
                        </ul>
                    </dd>
              </dl>
                <div class="jinghua">
                	<h5>精华帖子</h5>
                    <ol>
                    <c:forEach items="${doingListIsMarrow}" var="marrowDoing">
                        <li><a href="forumDc.htm?id=${marrowDoing.identifier}" target="_blank">${marrowDoing.cutTitle}</a></li>
                     </c:forEach>
                    </ol>
                </div>
                <div style="margin-top: 5px;">
                	<ul>
                		<c:forEach items="${cmsBillList}" var="bill">
                			<li style="margin-top: 2px;background: url(imgs/disc.png) no-repeat 5px center; padding:0 15px 0 15px;">
                				<a href="${bill.hyperlink}" target="_blank" style="text-overflow:ellipsis;white-space: nowrap;overflow:hidden; display:block; width:170px;">
                					${bill.title}
                				</a>
                			</li>
                		</c:forEach>
                	</ul>
                
                </div>
                
            </div>
            <div class="tiebamain" style="width: 740px">
            	<div class="h2" style="background-image: url('${forumInformation.imageServer}${forumInformation.backgroundImage}');">
	            	<img src="${forumInformation.imageServer}${forumInformation.logo}" alt="帖吧" width="50" height="50" /> 
	            	<p></p>
	            	<h2>${forumInformation.name}</h2>
	            	<i><span><fmt:formatDate value="${forumInformation.gmtCreated}" pattern="yyyy-MM-dd" /></span></i>
                </div>
           <div class="topintro">${forumInformation.introduction}<br />
                      <br /><br />
				<c:choose>
					 <c:when test="${member!=null }">
                 		<a href="newForumDoing.htm?forumId=${forumInformation.identifier}" target="_blank">发帖</a>	
                	 </c:when>
                 <c:otherwise>
                 	<a  href="javascript:void(0);" onclick="GUOGUO.memberLogin();">发贴</a>
                 
                 </c:otherwise>
                 </c:choose>
                 			
           </div>
           <div class="tiebalist">
           
                <div class="tabspan"> 
                    	<ul class="tab">
                    	 <c:choose>
	                    	<c:when test="${not empty classId}">
	                    	 <li><a href="getDoingListByForumId.htm?forumId=${forumId}" > 全部</a></li>
	                    	</c:when>
	                    	<c:otherwise>
	                    	  <li class="current"><a href="getDoingListByForumId.htm?forumId=${forumId}" > 全部</a></li>
	                    	</c:otherwise>
                    	</c:choose>
                    	  <c:forEach items="${forumInformation.doingClassList}" var="class">
	                    	 <c:choose>
		                    	 <c:when test="${classId==class.identifier}">
		                          	 <li class="current"><a href="getDoingListByForumId.htm?classId=${class.identifier}&forumId=${forumId}"> ${class.name}</a></li>
		                         </c:when>
		                         <c:otherwise>
			                         <li >
			                             <a href="getDoingListByForumId.htm?classId=${class.identifier}&forumId=${forumId}"> ${class.name}</a>
			                         </li>
		                         </c:otherwise>
	                         </c:choose>
                         
                         </c:forEach>                                  
                        </ul>  
                        <span class="fright"><i>回帖</i> / <b>浏览</b></span>                     
                </div>
              <%--    <div class="tabspan"> 
                    	<ul class="tab">
                    	  <li><a href="getDoingListByForumId.htm?forumId=${forumId}"> 全部</a></li>
                    	                        
                        </ul>  
                        <span class="fright"><i>回帖</i> / <b>浏览</b></span>                     
                </div> --%>
                
                
                
                <div class="tabcon" id="doingListByClass">
                	<c:forEach items="${forumInformation.memberList}" var="forumMember">
	                	<c:if test="${member.identifier==forumMember.identifier}">
	                     	<div class="editspan">
		                     	<a href="javascript:void(0);" onclick="deleteDoing(this);">删除</a> | 
		                     	<!-- <a href="javascript:void(0);" onclick="doingClass(this);">分类</a> |  -->
		                     	<a href="javascript:void(0);" onclick="doingRecommend(this);">推荐</a> |
		                        <a href="javascript:void(0);" onclick="doingTop(this);">置顶</a> | 
		                     	<a href="javascript:void(0);" onclick="doingMarrow(this);">精华</a> | 
		                     	<a href="javascript:void(0);" onclick="doingStyle(this);">高亮</a> | 
                                <a href="javascript:void(0);" onclick="doingUp(this);">提升/下沉</a> | 
                                <a href="javascript:void(0);" onclick="doingUnLock(this);">上锁/解锁</a>
	                     	</div>
	                    </c:if>
                     </c:forEach>
                     <div class="tabcon_list">
                         <ul>
	                        <c:forEach items="${pageModelDoingList.list}" var="doing">
	                         <dl>
			                         <c:forEach items="${forumInformation.memberList}" var="forumMember">
			                			<c:if test="${member.identifier==forumMember.identifier}">
					                             <dt>
					                           			  <input name="forumDoingCheckbox" doingId="${doing.identifier}" type="checkbox"/>
					                             </dt>
			                              </c:if>
		                     		</c:forEach>
	                              <dd >
			                                <a target="_blank" href="forumDc.htm?id=${doing.identifier}"  title="<c:out value="${doing.title}" />" style="cursor:pointer; ">
			                                <c:choose>
				                                	<c:when test="${fn:length(doing.doingPictureList) > 0}">
					                               		  <c:forEach items="${doing.doingPictureList}" var="doingPic" varStatus="status">
							                                 		<c:if test="${status.index==0}">
							                                     	  <img src="${doingPic.imageServer}${doingPic.pictureThumbnail}_100x100.jpg" class="img"/>
							                                   	 	 </c:if>
					                                	 </c:forEach>
				                                   </c:when>
					                                 <c:otherwise>
					                               			  <c:forEach items="${doing.doingProductList}" var="doingPro" varStatus="statusP">
								                                 		<c:if test="${statusP.index==0}">
								                                     	  <img src="${doingPro.imageServer}${doingPro.picThumb}_100x100.jpg" class="img"/>
								                                   	 	 </c:if>
						                                	 </c:forEach>
					                                 
					                                 </c:otherwise>
			                                 </c:choose>
			                                     <p class="title">
			                                         <span class="title" <c:if test="${not empty doing.style}"> style="${doing.style}" </c:if>>
						                                    <c:if test="${doing.isTop}">  <img src="imgs/tie_ico2.gif" alt="置顶" />
						                                    </c:if>
					                                    	<c:if test="${doing.isLock}">  <img src="imgs/tie_ico3.gif" alt="锁定" />
					                                   		</c:if>
					                                   		【<c:out value="${doing.className}" />】
						                                    <c:out value="${doing.cutTitle30}" />
						                                    <c:if test="${doing.isMarrow}">
										                         <img src="imgs/tie_ico4.gif" alt="精华" />
									                        </c:if> 
									                        <c:if test="${doing.isRecomend}">
										                          <img src="imgs/tie_ico1.gif" alt="推荐" />
									                        </c:if> 
				                                     </span>
				                                     <span>by <i>${doing.memberName}</i></span>
				                                     <span> <fmt:formatDate value="${doing.gmtCreated}" pattern="MM-dd HH:mm" /></span>
			                                    </p>
			                                    <p class="time"><span><i>${doing.replyAmount}</i> <b>${doing.viewAmount}</b></span>
			                                          <c:forEach items="${doing.replyPostsList}"var="replyDoingMember">
			                                          	 <span class="timeSpan">最后回复&nbsp;<i>${replyDoingMember.memberName}</i>:&nbsp;<fmt:formatDate value="${replyDoingMember.gmtCreated}" pattern="MM-dd HH:mm" /></span>
				                                     </c:forEach> 
			                                      
			                                           
			                                    </p>
			                                    </a>
	                                </dd>
	                         </dl>
	                         
	                       </c:forEach>
	                     </ul>   
								<c:if test="${pageModelDoingList.totalPage > 1}">
								<div id="pager" class="h_page" style="margin-top: 20px"></div>
								</c:if>
                     </div>
               </div> 
       </div>
            </div>
       		<div class="clear"></div>        
			<em class="lt"></em><em class="lb"></em><em class="rt"></em><em class="rb"></em>
        </div>
		<div class="clear"></div>
  </div>
  <%@include file="../common/footer.jsp" %>
</div>
<div  id="forum_doing_delete" style="position: absolute; width:400px;height:300px;display: none; background-color: white; z-index: 9999" >
	<br />
	<div style="text-align: right;">
		<img src="images/home_images/cuo_img2.gif" alt="关闭" onclick="cancelDelete();" />
	</div>
	<div style="background-color: #00BFFF;height: 25px">
		<h3 id="forum_doing_delete_count" style="color:black;font-size: 16px;text-align: center;" >您选中了1篇帖子</h3>
	</div>
    <table width="398px">
    <tr>
		    <td>
		     <br />
		    </td>
    </tr>
	<tr style="height: 80px">
		<td style="font-size: 20px;color: black;">
			<div>&nbsp;&nbsp;&nbsp;&nbsp;删除无法恢复，你确定要删除选择的主题？</div>
		</td>
	</tr>
	<tr style="text-align: center;height: 30px">
		<td>
			<input type="button" onclick="deleteDoingSave()" value="确定"/>
		</td>
	</tr>
	</table>
</div>

<div  id="forum_doing_recommend" style="position: absolute; width:400px;height:300px; display: none;  background-color: white;z-index: 9999"">
	
	<br />
	<div style="text-align: right;">
		<img src="images/home_images/cuo_img2.gif" width="20px" alt="关闭" onclick="cancelRecommend();" />
	</div>
	<h3 id="forum_doing_recommend_count" style="color:black ;font-size: 18px;text-align: center;background-color: #00BFFF;height: 25px" >您选中了1篇帖子</h3>
	<br />
	<br />
	<div style="text-align: center;" >
		<p style="font-size: 15px ;color: blue">
			<input name="forumIdDoingRecommend" type="radio" value="01" /> 确定推荐
		</p>
		<p style="font-size: 15px;color: blue">
			<input name="forumIdDoingRecommend" type="radio" value="02" /> 取消推荐
		</p>
	</div>
	<br />
	<br />
	<div style="text-align: center;"><strong style="font-size: 17px;color: black;">您确认要推荐选择的帖子么？<br />推荐的帖子将以多种方式出现在网站内</strong></div>
	<br />
	<br />
	<div style="text-align: center;">
		<input type="button" onclick="doingRecommendSave()" value="确定" style="width: 80px"/>
	</div>
</div>

<div  id="forum_doing_top" style="position: absolute; width:400px;height:300px; display: none;  background-color: white;z-index: 9999"">
	<div class="h_bbsPop_cuo">
		<img src="images/home_images/cuo_img2.gif" alt="关闭"
			onclick="cancelTop();" />
	</div>
	<h3 id="forum_doing_top_count" style="color:black ;font-size: 18px;text-align: center;background-color: #00BFFF;height: 25px" >您选中了1篇帖子</h3>
	<div class="h_bbsPop_Choose">
		<p>
			<input name="forumDoingTop" type="radio" value="01" /> 置顶
		</p>
		<p>
			<input name="forumDoingTop" type="radio" value="02" /> 取消置顶
		</p>
	</div>
	<div class="h_bbsPop_an clearfix">
		<div class="h_button fr mr10" onclick="doingTopSave();">
			<strong>确 定</strong>
		</div>
	</div>
</div>
<div  id="forum_doing_marrow" style="position: absolute; width:400px;height:300px; display: none;  background-color: white;z-index: 9999"">
	<div class="h_bbsPop_cuo">
		<img src="images/home_images/cuo_img2.gif" alt="关闭" onclick="cancelMarrow();" />
	</div>
	<h3 id="forum_doing_marrow_count">选中了1篇帖子</h3>
	<div class="h_bbsPop_Choose">
		<p>
			<input name="forumDoingMarrow" type="radio" value="01" /> 精华
		</p>
		<p>
			<input name="forumDoingMarrow" type="radio" value="02" /> 取消精化
		</p>
	</div>
	<div class="h_bbsPop_an clearfix">
		<div class="h_button fr mr10" onclick="topicMarrowSave();">
			<strong>确 定</strong>
		</div>
	</div>
</div>

<div class="h_bbsPop" id="forum_doing_style"
	style="position: absolute; left: 350px; top: 50px; display: none;">
	<div class="h_bbsPop_cuo">
		<img src="images/home_images/cuo_img2.gif" alt="关闭"
			onclick="cancelStyle();" />
	</div>
	<h3 id="forum_doing_style_count">选中了1篇帖子</h3>
	<div class="h_bbsPop_Choose clearfix">
		<div class="h_bbsPop_left">
			<p>
				<input name="forumDoingStyle" type="radio" value="01" />高亮
			</p>
			<p>
				<input name="forumDoingStyle" type="radio" value="02" />取消高亮
			</p>
		</div>
		<div class="h_bbsPop_right">
			<div class="h_bbsColorBox">
				<div class="h_bbsColor" onclick="changStyleColor(this);">
					<em></em>
				</div>
				<img src="images/home_images/bbs_ico4.gif" alt="加粗" onclick="setBold(this);" style="cursor: pointer;" bold="0" id="doing_style_bold" />
				<img src="images/home_images/bbs_ico5.gif" alt="斜体" onclick="setItalic(this);" style="cursor: pointer;" italic="0" id="doing_style_italic" /> 
				<img src="images/home_images/bbs_ico6.gif" alt="下划线" onclick="setUnderline(this);" style="cursor: pointer;" underline="0" id="doing_style_underline" />
			</div>
		</div>

	</div>
	<br />
	<br />
	<br />
	<br />
	<div class="h_bbsPop_an clearfix">
		<div class="h_button fr mr10" onclick="doingStyleSave();">
			<strong>确 定</strong>
		</div>
	</div>
</div>
<div class="h_bbsColorList" id="doing_style_color" style="z-index: 9999">
	<strong class="h_bbsColor_1" onclick="selectColor(this);" isSelect="0"></strong>
	<strong class="h_bbsColor_2" onclick="selectColor(this);" isSelect="0"></strong>
	<strong class="h_bbsColor_3" onclick="selectColor(this);" isSelect="0"></strong>
	<strong class="h_bbsColor_4" onclick="selectColor(this);" isSelect="0"></strong>
	<strong class="h_bbsColor_5" onclick="selectColor(this);" isSelect="0"></strong>
	<strong class="h_bbsColor_6" onclick="selectColor(this);" isSelect="0"></strong>
	<strong class="h_bbsColor_7" onclick="selectColor(this);" isSelect="0"></strong>
	<strong class="h_bbsColor_8" onclick="selectColor(this);" isSelect="0"></strong>
	<strong class="h_bbsColor_9" onclick="selectColor(this);" isSelect="0"></strong>
</div>
<div  id="forum_doing_up" style="position: absolute; width:400px;height:300px; display: none;  background-color: white;z-index: 9999"">
	<div class="h_bbsPop_cuo">
		<img src="images/home_images/cuo_img2.gif" alt="关闭"
			onclick="cancelUp();" />
	</div>
	<h3 id="forum_doing_up_count">选中了1篇帖子</h3>
	<div class="h_bbsPop_Choose">
		<p>
			<input name="forumDoingUp" type="radio" value="01" />提升
		</p>
		<p>
			<input name="forumDoingUp" type="radio" value="02" />下沉
		</p>
	</div>
	<div class="h_bbsPop_an clearfix">
		<div class="h_button fr mr10">
			<strong onclick="doingUpSave();">确 定</strong>
		</div>
	</div>
</div>
<div  id="forum_doing_unlock" style="position: absolute; width:400px;height:300px; display: none;  background-color: white;z-index: 9999"">
	<div class="h_bbsPop_cuo">
		<img src="images/home_images/cuo_img2.gif" alt="关闭" onclick="cancelUnLock();" />
	</div>
	<h3 id="unLock_select_count">选中了1篇帖子</h3>
	<div class="h_bbsPop_Choose">
		<p>
			<input name="doingLock" type="radio" checked="checked" value="01" />
			上锁
		</p>
		<p>
			<input name="doingLock" type="radio" value="02" /> 解锁
		</p>
	</div>
	<div class="h_bbsPop_an clearfix">
		<div class="h_button fr mr10" onclick="doingUnLockSave();">
			<strong>确 定</strong>
		</div>
	</div>
</div>
</body>
</html>
